<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>websocket</title>
  <style>
    .body-box{
      width: 400px;
      margin: 50px auto;
      border: 1px solid #e7e7e7;
      padding: 20px;
      box-shadow: 0 0 10px #999;
      border-radius: 5px;
			text-align: center;
    }
		.msg-box{
			width: 100%;
			text-align: left
		}
  </style>
</head>
<body>
  <div class="body-box">
			<h6>消息</h6>
			<div class="msg-box"></div>
			<hr>
			<input type="text" id="inputBox">
			<button id="send">发送</button>
  </div>
</body>
</html>